package com.crx.springbootinit.model.vo.post;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("帖子主页VO")
public class PostHomeVO {
    @ApiModelProperty(value = "帖子id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "图片列表")
    private List<String> imageList;

    @ApiModelProperty(value = "起点")
    private String startRoute;

    @ApiModelProperty(value = "终点")
    private String endRoute;

    @ApiModelProperty(value = "游玩次数")
    private Integer playCount;

    @ApiModelProperty(value = "获赞数量")
    private Long loveCount;

    @ApiModelProperty(value = "收藏数量")
    private Long collectCount;

    @ApiModelProperty(value = "评论数量")
    private Long commentCount;

    @ApiModelProperty(value = "距离")
    private BigDecimal distance;

    @ApiModelProperty(value = "标题")
    private String title;

}
